package cn.bailin233.system.entity.user;

import cn.bailin233.system.entity.Resource;
import cn.bailin233.system.entity.Role;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.util.List;

/**
 * 用户信息表
 */
@Data
public class User {
    private Long uid;
    private String name;
    private String account;
    private String password;
    private String sex;
    private String phone;
    private String oauthName;

    @TableField(exist = false)
    private List<Role> roleList;
    @TableField(exist = false)
    private List<Resource> resourceList;

}
